package projorientado.ocr;

import projorientado.spi.GenericServiceProviderInterface;

public class OCRProvider extends GenericServiceProviderInterface<OCRecognizer> {

    private static final OCRProvider instance = new OCRProvider();
    
    private OCRProvider() {
        
    }
    
    public static OCRProvider getInstance() {
        return instance;
    }
    
    public static OCRecognizer getOCR(String s) {
        return instance.getService(s);
    }
    
    public static OCRecognizer getOCR(String name, String param) {
        return instance.getService(name, param);
    }
    
}
